package com.xyy.saas.payment.merchant.core.dto;

public class UnfrozenDto {
    /**
     * 全部解冻
     */
    public static String ALL = "1";
    /**
     * 部分解冻
     */
    public static String SUB = "2";
    /**
     * 构建对象
     */
    public static UnfrozenDto build(String businessOrderType, String accountId, String bizChannelOrderId,
                                    String originBizChannelOrderId, String thawrozenFlag, String amount)
    {
        UnfrozenDto unfrozenDto = new UnfrozenDto();
        unfrozenDto.setBusinessOrderType(businessOrderType);
        unfrozenDto.setAccountId(accountId);
        unfrozenDto.setBizChannelOrderId(bizChannelOrderId);
        unfrozenDto.setOriginBizChannelOrderId(originBizChannelOrderId);
        unfrozenDto.setThawrozenFlag(thawrozenFlag);
        unfrozenDto.setAmount(amount);
        return unfrozenDto;
    }

    private String businessOrderType;
    private String accountId;
    private String bizChannelOrderId;
    private String originBizChannelOrderId;
    private String thawrozenFlag;
    private String amount;
    /**
     * 日期格式：yyyymmdd
     */
    private String currency = "CNY";

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getBizChannelOrderId() {
        return bizChannelOrderId;
    }

    public void setBizChannelOrderId(String bizChannelOrderId) {
        this.bizChannelOrderId = bizChannelOrderId;
    }

    public String getThawrozenFlag() {
        return thawrozenFlag;
    }

    public void setThawrozenFlag(String thawrozenFlag) {
        this.thawrozenFlag = thawrozenFlag;
    }

    public String getOriginBizChannelOrderId() {
        return originBizChannelOrderId;
    }

    public void setOriginBizChannelOrderId(String originBizChannelOrderId) {
        this.originBizChannelOrderId = originBizChannelOrderId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
}
